import { subStateMachine } from "../../Base/subStateMachine";
import { PARAMS_NAME_ENUM, SPIKE_COUNT_MAP_NUMBER_ENUM } from "../../Enums";


export default class SpikeSubManchine extends subStateMachine {

    run(): void {
        const value = this.fsm.getParams(PARAMS_NAME_ENUM.SPIKES_CUR_COUNT);
        this.currentState = this.statMachines.get(SPIKE_COUNT_MAP_NUMBER_ENUM[value as number]);
    }


}